﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace Sealight.UI.WebUI.Models
{
    public class SpecificationAttributeViewModel
    {
        [ScaffoldColumn(false)]
        public Guid ID { get; set; }       
        [ScaffoldColumn(true)]
        public string IDString { get { return this.ID.ToString(); } }
        [Required]
        [DisplayName("Tên")]
        public string Name { get; set; }
        [DisplayName("Thứ tự")]
        public int DisplayOrder { get; set; }
        [DisplayName("Loại")]
        [UIHint("Category"), Required]
        public Guid Category { get; set; }
    }
}